package com.biz.primus.model.sso.account.vo;

import com.biz.primus.base.enums.CommonStatus;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

public class UserReqVo {

    private String userUnionId;

    private String keyword;

    private String name;

    private String username;

    @NotNull(message = "状态不能为空")
    private CommonStatus status = CommonStatus.ENABLE;

    @Min(1)
    private Integer page = 1;

    @Max(100)
    private Integer pageSize = 20;

    /**
     * {@linkplain UserReqVo#userUnionId}
     */
    public String getUserUnionId() {
        return userUnionId;
    }

    /**
     * {@linkplain UserReqVo#userUnionId}
     */
    public void setUserUnionId(String userUnionId) {
        this.userUnionId = userUnionId;
    }

    public CommonStatus getStatus() {
        return status;
    }

    public void setStatus(CommonStatus status) {
        this.status = status;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * {@linkplain UserReqVo#keyword}
     */
    public String getKeyword() {
        return keyword;
    }

    /**
     * {@linkplain UserReqVo#keyword}
     */
    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }
}